package management;
import java.text.SimpleDateFormat;
import java.util.Scanner;
import java.util.Date;
//目录
public class Table {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        Company c = new Company();
        while (true) {
            System.out.println("1.录入");
            System.out.println("2.修改");
            System.out.println("3.删除");
            System.out.println("4.查询");
            System.out.println("5.显示");
            System.out.println("6.退出");
            System.out.println("请输入要执行的操作的标号");

            int n = scanner.nextInt();
            if (n == 1) {
                Input.main(args);
            } else if (n == 2) {
                Modification.main(args);
            } else if (n == 3) {

            } else if (n == 4) {

            } else if (n == 5) {
               // Display.main(args);
            } else if (n == 6) {
                break;
            } else if (n != 1 && n != 2 && n != 3 && n != 4 && n != 5 && n != 6) {
                System.out.println("输入有误，请重新输入");
                continue;
            }
        }
    }
}
